package com.atung.parking.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author Administrator
 */
@Data
@TableName("bus_parking_iot")
public class BusParkingIot {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long superUserId;
    private String name;
    private long totalSpaces;
    private BigDecimal ratePerHour;
    private String imagePath;
    private String address;
    private String detailedAddress;
    private String hardwareVendor;
    private Integer approvalStatus;
    private String longitude;
    private String latitude;
    private String contactPhone;
    private String sid;

    private String secretKey;

    private String rid;
    @TableField(fill = FieldFill.INSERT)

    private String creatorId;
    @TableField(fill = FieldFill.UPDATE)
    private String modifierId;
    @TableField(fill = FieldFill.UPDATE)
    private String modifierTime;
    @TableField(fill = FieldFill.INSERT)
    private String creatorTime;
    @TableField(fill = FieldFill.INSERT)
    private String creatorName;
    @TableField(fill = FieldFill.UPDATE)
    private String modifierName;
    @TableLogic
    private Long delectd;
}